﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using SmartSpace.Cwt;

namespace WebApp.Management.Installation
{
    public partial class InstallDB : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (IsPostBack)
            {
                IInstallService service = Global.Get<IInstallService>();
                service.Install();
                Response.Redirect("../Message.aspx");
            }
        }
    }
}